import React, { Component } from 'react'

import {BrowserRouter } from "react-router-dom"
import RouterView from './router/RouterView'
import routerConfig from "./router/routerConfig"


export class App extends Component {
  render() {
    return (
      // 一级路由 
      <BrowserRouter>
        <RouterView routerConfig={ routerConfig }></RouterView>
      </BrowserRouter>
    )
  }
}

export default App
